package com.jshan.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("sys_system_info")
@Schema(description = "系统信息实体")
public class SystemInfo {
    @TableId(type = IdType.AUTO)
    @Schema(description = "系统信息ID")
    private Long id;

    @Schema(description = "服务器ID")
    private Long serverId;

    @Schema(description = "操作系统")
    private String os;

    @Schema(description = "主机名")
    private String hostname;

    @Schema(description = "运行时间")
    private String uptime;

    @Schema(description = "CPU型号")
    private String cpuModel;

    @Schema(description = "总内存")
    private String totalMemory;

    @Schema(description = "总磁盘空间")
    private String totalDisk;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
